package com.wangsai.framework.supersecurity.client;


/**
 * @author Mr.Wang
 * @program: super-security
 * @description 用户存储器
 * @date 2021-08-14 15:16
 */
public interface UserStore {

    /**
     * 获取User
     *
     * @return User
     */
    <T> T get(Class<T> userClazz);


    /**
     * 保存User
     *
     * @param user
     */
    void save(Object user);
}
